<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ page isELIgnored="false" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"%>

<html>
<head>
    <title>修改任务</title>
    <style type="text/css" rel="stylesheet">
        .title-tab{
            width: 100px;
            margin-left: 10px;
            margin-right: 20px;
            display: inline-block;
            padding-right: 50px;
        }
        .ipt-txt{
            width: 400px;
            margin-top: 15px;
            height: 35px;
        }
        .btn{
            text-align: center;
            margin: 20px auto;
            width: 120px;
            height: 40px;
        }
    </style>
</head>
<body>
    <div style="width: 800px;margin: 20px auto;">
        <form action="${pageContext.request.contextPath }/quartz/edit" method="post">
            <input type="hidden" name="oldJobName" value="${job.jobName}" >
            <input type="hidden" name="oldJobGroup" value="${job.jobGroup}" >
            <input type="hidden" name="oldTriggerName" value="${job.triggerName}" >
            <input type="hidden" name="oldTriggerGroup" value="${job.triggerGroup}" >
            <span>编辑</span>
            <br/>
            <a href="${request.contextPath}/quartz/list">列表</a>
            <hr/>
            <span class="title-tab">cron表达式:</span><input class="ipt-txt" type="text" name="cron" value="${job.cron}"/><br/>
            <span class="title-tab">执行类:</span><input class="ipt-txt" type="text" name="clazz" value="${job.clazz}"/><br/>
            <span class="title-tab">任务名称:</span><input class="ipt-txt" type="text" name="jobName" value="${job.jobName}"/><br/>
            <span class="title-tab">任务组:</span><input class="ipt-txt" type="text" name="jobGroup" value="${job.jobGroup}"/><br/>
            <span class="title-tab">触发器名称:</span><input class="ipt-txt" type="text" name="triggerName" value="${job.triggerName}"/><br/>
            <span class="title-tab">触发器组:</span><input class="ipt-txt" type="text" name="triggerGroup" value="${job.triggerGroup}"/><br/>
            <span style="width: 100%;margin: 14px 80px;text-align: center;float: right;">
                <button type="submit" class="btn">提交</button>
            </span>
        </form>
    </div>
</body>
</html>